
         <div class="main-right">
              <div class="main-right-header">
                   <p class="now-nav">您现在操作的是：<span>添加文章</span></p>
              </div>
              <div class="blank1"></div>
              <!-- *************************************每个连接实现的内容***************************************** -->
              
              
               <div class="content">
             	   <div class="message">
             	        <ul style="border:0px; ">
             	            <li>
             		        <?php  echo $this->message->all(); ?>
             		        </li>
             		    </ul>
             	   </div>
                   <form action ="<?php echo site_url('manage/article/add') ?>" method="post" >
              	         <table class="article-table add-table">
                               <tr>
                                   <td style="width:100px; ">所属语言：</td>
                                   <td>
                                        <select name="language">
                                        <option>请选择所属语言</option>
                                        <?php 
                                        foreach($language_list as $language_row):
                                        ?>
                                        <option> <?php echo $language_row['code'];  ?></option>
                                        <?php 
                                        endforeach;
                                        ?>
                                        </select>
                                    </td>
                               </tr>
                               <tr>
                           		   <td>&nbsp;</td>
                          		   <td>所属语言不能为空</td>
                       		   </tr>
                       		   <tr>
                                    <td>文章标题：</td><td><input type="text" name="title" /></td>
                               </tr>
                               <tr>
                                    <td>&nbsp;</td>
                                    <td>文章标题不能为空</td>
                               </tr>
                               <tr>
                                    <td>文章名称：</td><td><input type="text" name="name" /></td>
                               </tr>
                               <tr>
                                    <td>&nbsp;</td>
                                    <td>文章名称不能为空</td>
                               </tr>
                               
                               <tr>
                                   <td>url_pattern：</td>
                                   <td><input type="text" name="url_pattern" /></td>
                        	   </tr>
                               <tr>
                                   <td>&nbsp;</td>
                                   <td>url_pattern不能为空</td>
                               </tr>
                               <tr>
                                   <td>关键字描述：</td>
                                   <td><input type="text" name="keywords" /></td>
                               </tr>
                               <tr>
                                   <td>&nbsp;</td>
                                   <td>关键字不能为空</td>
                               </tr>
                               <tr>
                                   <td>描述：</td>
                                   <td><input type="text" name="description"/></td>
                               </tr>
                               <tr>
                                   <td>&nbsp;</td>
                                   <td>描述不能为空</td>
                               </tr>

                               <tr>
                                    <td>文章摘要：</td>
                                    <td colspan="2"><textarea cols="60" rows="3" name="summary"></textarea></td>
                               </tr>
                               <tr>
                                    <td>&nbsp;</td>
                                    <td>文章摘要不能为空</td>
                               </tr>
                               <tr>
                                     <td>文章的内容：</td>
                                     <td colspan="2"><textarea cols="60" rows="5" name="content"></textarea></td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td>文章内容不能为空</td>
                                </tr>
              		            <tr>
              		                 <td>&nbsp;</td>
              		                 <td>
              		                     <input type="submit" name="submit-article" value="发布文章"/>
              		                 </td>
              		             </tr>
              	          </table>
                    </form>
               </div>                                 
         </div>
         

<script type="text/javascript" src="<?php echo base_url() ?>app/views/manage/scripts/nicEdit/nicEdit.js"></script>
<script type="text/javascript">
	bkLib.onDomLoaded(function() { 
		new nicEditor({
			fullPanel : true,
			iconsPath : '<?php echo base_url() ?>app/views/manage/scripts/nicEdit/nicEditorIcons.gif'
		}).panelInstance('content');
	});
</script>


    
    